<form id="batch-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group" data-type="menu">
        <label for="remark" class="control-label col-xs-12 col-sm-2">{:__('批量编辑类型')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[type]', $typeList)}
        </div>
    </div>
    <div class="url">
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('原链接')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-orginal_url_old" class="form-control" name="row[orginal_url_old]" type="text"
                       value="{$row.orginal_url|htmlentities}">
                <span class="help-block">{:__('该输入要匹配的地址,需完全一致')}</span>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('新连接')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-orginal_url" class="form-control" name="row[orginal_url]" type="text"
                       value="{$row.orginal_url|htmlentities}">
                <span class="help-block">{:__('该输入新地址')}</span>
            </div>
        </div>
    </div>
    <div class="c_title" style="display: none">
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('原词')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-c_title_old" class="form-control" name="row[c_title_old]" type="text"
                       value="{$row.c_title_old|htmlentities}">
                <span class="help-block">{:__('该输入要匹配的字词')}</span>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('新词')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-c_title" class="form-control" name="row[c_title]" type="text"
                       value="{$row.c_title|htmlentities}">
                <span class="help-block">{:__('该输入新词')}</span>
            </div>
        </div>
    </div>

    <div class="title" style="display: none">
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('新描述')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-title" class="form-control" name="row[title]" type="text"
                       value="{$row.title|htmlentities}">
                <span class="help-block">{:__('该输入新描述')}</span>
            </div>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>


